package com.yaoran.userauth.service;

import com.yaoran.userauth.entity.Application;
import com.yaoran.userauth.utils.PageUtils;
import com.yaoran.userauth.utils.Query;

import java.util.Date;
import java.util.List;

public interface ApplicationService {
    void addApplication(Application application, Date createTime);

    PageUtils<Application> listApplication(Query query,String keyWord);

    void updateApplication(Application application);

    void deleteApplication(Long id);

    void deleteManyApplication(Long[] ids);

    Application getApplication(Long id);

    List<Application> listAllApplication(Long organizationId);
}
